package com.company.cloud.point.modules.app.controller.req;

import com.company.cloud.common.bean.BaseParam;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Setter
@Getter
public class PointProcessParam extends BaseParam {

    @ApiModelProperty(value = "公司编号",required = true)
    @NotEmpty(message = "公司编号不能为空")
    private String companyNo;

    @ApiModelProperty(value = "奖励用户ID",required = true)
    @NotNull(message = "奖励用户ID不能为空")
    private Integer userId;

    //--------------------------------------------------------
    @ApiModelProperty(value = "事件编号",required = true)
    @NotEmpty(message = "事件编号不能为空")
    private String eventNo;

    @ApiModelProperty(value = "关联对象ID分类")
    private String relIdType;

    @ApiModelProperty(value = "关联对象ID")
    private String relId;


}
